import 'package:flutter/services.dart';

class MethodChannelUtils {
  static const MethodChannel _channel = MethodChannel('lion_channel');

  static showHudWithMsg(String msg) {
    _channel.invokeMethod('showHudWithMsg', msg);
  }

  static toWebView() {
    _channel.invokeMethod('webview');
  }

  static toAboutVc() {
    _channel.invokeMethod('aboutvc');
  }

  static toLoginVc() {
    _channel.invokeMethod('loginvc');
  }
}
